package com.jeesite.modules.fl.dao;

import org.apache.ibatis.annotations.Param;

import com.jeesite.common.dao.CrudDao;
import com.jeesite.common.mybatis.annotation.MyBatisDao;
import com.jeesite.modules.fl.entity.Appointment;

import java.util.List;

@MyBatisDao
public interface AppointmentDao extends CrudDao<Appointment>{
	public Integer getCountByNoPref(@Param("noPref")String noPref);
	public Appointment getByNo(@Param("no")String no);
	public Integer getCount(@Param("clinic")String clinic,@Param("department")String department,@Param("date")String date,@Param("id")String id,@Param("timePeriod")String timePeriod);
	public List<Appointment> getEvaluates(Appointment appointment);
	public Integer getLowLevelEvaluateCount();
	public Integer getUnReadEvalCount(String leaguerId);
	public void endPoorRating(Appointment appointment);
}
